#include "Review.h"

Review::Review()
{
    userID = "";
    hotelName = "";
    hotelAddress = "";
    comment = "";
    stars = 0;
}
Review::Review(string userID, string hotelName, string hotelAddress, string comment, int stars)
{
    this->userID = userID;
    this->hotelName = hotelName;
    this->hotelAddress = hotelAddress;
    this->comment = comment;
    this->stars = stars;
}

//get functions  
string Review::getUserID()
{
	return userID;
}

string Review::getHotelName()
{
	return hotelName;
}

string Review::getHotelAddress ()
{
	return hotelAddress;
}

string Review::getComment()
{
	return comment;
}

int Review::getStars ()
{
	return stars;
}

//set functions    
void Review::setUserID(string userID)
{
	this->userID=userID;
}
void Review::setHotelName(string hotelName)
{
	this->hotelName=hotelName;
}
void Review::setHotelAddress(string hotelAddress)
{
	this->hotelAddress=hotelAddress;
}
void Review::setComment(string comment)
{
	this->comment=comment;
}

void Review::setStars (int stars)
{
	this->stars = stars;
}

   
    

